<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<table border="1"> 
		<tr>
			<td>id</td>
			<td>姓名</td>
			<td>年龄</td>
			<td>性别</td>
		</tr>
		<?php foreach ($stulist as  $stu) { ?>
			<tr>
				<td><?php echo $stu['sid'] ?></td>
				<td><?php echo $stu['name'] ?></td>
				<td><?php echo $stu['age'] ?></td>
				<td><?php echo $stu['sex'] ?></td>
			</tr>	
		<?php } ?>
	</table>
</body>
</html>